package com.robot.mirai.dao.repository.interview.impl;

import com.robot.mirai.dao.mapper.interview.SeekersMapper;
import com.robot.mirai.dao.repository.interview.SeekersRepository;
import com.robot.mirai.pojo.entity.interview.SeekersUser;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * @author ruoLi
 */
@Slf4j
@Repository
public class SeekersRepositoryImpl implements SeekersRepository {
    @Autowired
    SeekersMapper seekersMapper;
    @Override
    public int addSeekersUser(SeekersUser seekersUser) {
        int count= seekersMapper.addSeekersUser(seekersUser);
        log.debug("执行了SeekersMapper中的addSeekersUser方法");
        return count;
    }
}
